import router from "../router";

/**
 * 大屏全局方法
 */
export default {
  switch(type) {
    switch (type) {
      case "overview":
        router.push("/overview");
        break;
      case "single":
        router.push("/single-view");
        break;
      case "special":
        router.push("/special-monitoring");
        break;
      case "video":
        router.push("/video-monitoring");
        break;
      default:
        break;
    }
  },
};
